<div id='panel'>
<form name="form_his" id="form_his" method="post">
<table width="100%"  border="0" cellspacing="0" class="container" style=" border-width: 0; border:none;">
  <tr class='head-tr'>
	<td>
		<div class="fulldiv">
			<div class="chat_img">&nbsp;</div>
		</div>
		<p align="center"><strong class="orangehead">Referral Commission</strong></p>
		
		<div class="fulldiv">
			<div class="moreinfo_img">
				<div class="fulldiv">
					<div style="float: right;" class="star">&nbsp;</div> &nbsp;
					<a style="float: right;" class="bluelink" href="javascript:void(0);" onclick="show_more_info3()">more info</a>
				</div>
			</div>
			<script>
			function show_more_info3()
			{
			  
			 var ntop = ( $(window).height() - $('#more_info3').height() ) / 2+$(window).scrollTop();
			 var nleft = ( $(window).width() - $('#more_info3').width() ) / 2+$(window).scrollLeft();
			
			  $('#more_info3').css({'left': nleft, 'top':ntop});
			  $('#more_info3').fadeIn('slow');
			}
			</script>
			<div style=" display: none; width: 400px; font-weight:bold; padding:10px; background-color:#cccccc; opacity:0.9;" class="user_popup" id="more_info3">
			  <span style="float:left; width:100%; text-align:right; margin-bottom:5px;"><label style="cursor:pointer;" onclick="$('#more_info3').fadeOut('slow');"><strong>x</strong></label></span>
			  <span style="float:left; width:100%; margin-bottom:10px;" id="desc_info"><strong>Local Pick up is an option for members who want to provide buyers an extra option to receive their products directly from the source. The buyer receives a 10 digit code for the pick-up, which he will provide you with for verification of transaction.</strong></span>
			</div>
			<div class="fulldiv" style="text-align:center; margin-top:-8px;">
			<p style="color: #000000; font-size: 14px;">Local Pick-Up Varification</p>
			<input class="inputbg" style="width:150px;" maxlength="10" name="item_code1" id="item_code1" value="Buyer's 10 digit code" type="text"  onBlur="putIndicator(this,'Buyer\'s 10 digit code')" onFocus="clearIndicator(this,'Buyer\'s 10 digit code')" onClick="clearIndicator(this,'Buyer\'s 10 digit code')" />
			<p style="text-align:center; margin-left:80px; float:left;"><input type="button" class="yellow_btn" value="Verify" onclick="verify_item_code1()" /></p>
			</div>
		</div>
		<div id="msg_box_lp" class="srlink_popup2" style="display:none;">
			<div class="srlinkpp2_text" id="trans_box1">
			  
			</div>
		</div>
		<script>
		function verify_item_code1()
		{
			var product_id = 0;
			var item_code = $('#item_code1').val();
			
			if(item_code == "Buyer's 10 digit code")
			  item_code = '';
			
			var url = "<?php echo $base_url;?>verify_item_code1.php";
			$.post(url,
			{ 'item_code': item_code,'product_id':product_id},
			function(data)
			{
				if(trim1(data)!='fail')
				{ 
					$('#msg_box_lp').show();
					data = data.split('###');
					$('#trans_box1').html('You have successfully verified ('+item_code+') '+data[3]+' with buyer '+data[1]+' '+data[2]+'<br /><input type="button" class="refer_btn" value="Close" onclick="$(\'#msg_box_lp\').hide();" style="margin-left:5px;" />');
					//$('#d_'+product_id).html(data[0]+' <img src="./images/success.gif" border="0" /><br /><input type="button" class="refer_btn" value="Close" onclick="$(\'#ship_verify_box\').hide();" style="margin-left:5px;" /> <br /> <input type="button" class="refer_btn" value="Close" onclick="$(\'#ship_verify_box\').hide();" style="margin-left:5px;" />');
				}
				else
				{
				 
				  $('#msg_box_lp').show();
				  $('#trans_box1').html('The 10 digit buyer code does not match our records, please try again. If you are sure this is correct code please contact us at support@swapen.com <br /><input type="button" class="refer_btn" value="Close" onclick="$(\'#msg_box_lp\').hide();" style="margin-left:5px;" />');
				}
				
			},
			'html');
			
		}
		function trim1(stringToTrim) {
		  return stringToTrim.replace(/^\s+|\s+$/g,"");
		 }
		</script>
		<div class="fulldiv">
			<div class="shourtbox">
			<p><strong class="orangehead">Shortcuts</strong></p>
			<ul>
			  <?php if($_SESSION['user_type_sess']!=5) { ?>
			  <li><a class="bluelink" href="#wanted_list">My Wanted List</a></li>
			  <?php } ?>
			  <li><a class="bluelink" href="#pending_feedback">My Feedback</a></li>
			  <li><a class="bluelink" href="#transaction_history">Transaction History</a></li>
			  <li><a class="bluelink" href="#product_sold">Start having your product sold</a></li>
			</ul>
			</div>
		</div>
		
		<div class="fulldiv">
			<p style="margin:10px auto; width:120px;">
				<input type="button" class="refer_btn" value="Post a Job" style="margin:0px; width:119px;" onclick="window.location='index.php?post';" />
			</p>
			
			<p style="margin:10px auto; width:120px;">
				<input type="button" class="refer_btn" value="Post a Rental"  style="margin:0px; width:119px;" onclick="window.location='index.php?post'" />
			</p>
			
			<p style="margin:10px auto; width:120px;">
				<input type="button" class="refer_btn" value="Post a Real Estate"  style="margin:0px; width:119px;" onclick="window.location='index.php?post'" />
			</p>
		</div>
		
		<div class="fulldiv">
			<div class="faqbg_top">&nbsp;</div>
			<div class="faqbg_repeat">
				<p><strong class="orangehead">FAQ</strong></p>
				<ul>
					<li><a class="bluelink" href="index.php?faq#general">General</a></li>
					<li><a class="bluelink" href="index.php?faq=buyer">Buying</a></li>
					<li><a class="bluelink" href="index.php?faq=seller">Selling</a></li>
					<li><a class="bluelink" href="index.php?faq=merchant">Merchant</a></li>
					<li><a class="bluelink" href="#">Wholesaler</a></li>
				</ul>
			</div>
			<div class="faqbg_bot">&nbsp;</div>
		</div>
		
	</td>
  </tr>
</table>
</form>
</div>